/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.x3.purchasing.produk;

import com.x3.purchasing.kategori.Kategori;
import com.x3.purchasing.order.Order;
import com.x3.purchasing.order.OrderDetail;
import com.x3.purchasing.vendor.Vendor;
import java.io.InputStream;
import java.sql.Blob;

/**
 *
 * @author kris
 */
public class Produk {

    private int id;
    private String kode;
    private String nama;
    private String keterangan;
    private String keteranganLengkap;
    private double hargaSatuan;
    private InputStream fileGambar;
    private String namaGambar;
    private Vendor vendor;
    private Kategori kategori;
    private OrderDetail orderDetail;

    public OrderDetail getOrderDetail() {
        return orderDetail;
    }

    public void setOrderDetail(OrderDetail orderDetail) {
        this.orderDetail = orderDetail;
    }

    public InputStream getFileGambar() {
        return fileGambar;
    }

    public void setFileGambar(InputStream fileGambar) {
        this.fileGambar = fileGambar;
    }

    public String getNamaGambar() {
        return namaGambar;
    }

    public void setNamaGambar(String namaGambar) {
        this.namaGambar = namaGambar;
    }

    public double getHargaSatuan() {
        return hargaSatuan;
    }

    public void setHargaSatuan(double hargaSatuan) {
        this.hargaSatuan = hargaSatuan;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Kategori getKategori() {
        return kategori;
    }

    public void setKategori(Kategori kategori) {
        this.kategori = kategori;
    }

    public String getKeterangan() {
        return keterangan;
    }

    public void setKeterangan(String keterangan) {
        this.keterangan = keterangan;
    }

    public String getKeteranganLengkap() {
        return keteranganLengkap;
    }

    public void setKeteranganLengkap(String keteranganLengkap) {
        this.keteranganLengkap = keteranganLengkap;
    }

    public String getKode() {
        return kode;
    }

    public void setKode(String kode) {
        this.kode = kode;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public Vendor getVendor() {
        return vendor;
    }

    public void setVendor(Vendor vendor) {
        this.vendor = vendor;
    }
}
